const sk = require("ws");

const Server = new sk.Server({
    port: 3900,
    host: '0.0.0.0',
});

Server.on('connection', (csk) => {
    //console.log('connection', csk);
    csk.on("message", (data) => {
        console.log(data);
    });
    csk.send(13)
});

Server.on("error", () => {
    console.log('error');
});

Server.on('headers', (res) => {
    console.log(res)
});
